import './assets/main.css'

import { createApp } from 'vue'
import { createPinia } from 'pinia'

import App from './App.vue'
import router from './router'
import axios from 'axios'
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'
import Vant from 'vant';
import 'vant/lib/index.css';

const app = createApp(App)
const pinia = createPinia();

app.use(pinia);
pinia.use(piniaPluginPersistedstate);
app.use(router)
app.use(Vant);

app.config.globalProperties.$axios = axios
app.mount('#app')
